package com.cos.shop.util;
//字符串工具类 判定字符串是否为空
public class StrUtils {
	public static boolean empty(String msg){
		return msg!=null && msg.length()>0;
	}
	public static boolean empty(String...msg){
		boolean res = true;
		for(String s:msg){
			res = (s!=null && s.length()>0);
			if(!res){
				break;
			}
		}
		return res;
	}


	public static void main(String[] args) {

		String db = "e10adc3949ba59abbe56e057f20f883e";
		String pwd = "123456";
		if (db.equals(MD5Utils.md5(pwd))) {

		}

	}
}
